from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *


class Change_password_window(object):
    def setupUi(self, Form):
        if not Form.objectName():
            Form.setObjectName(u"Form")
        Form.resize(900, 700)
        self.confirm_button = QPushButton(Form)
        self.confirm_button.setObjectName(u"confirm_button")
        self.confirm_button.setGeometry(QRect(220, 470, 161, 61))
        font = QFont()
        font.setPointSize(20)
        font.setBold(False)
        font.setWeight(50)
        self.confirm_button.setFont(font)
        self.cancel_button = QPushButton(Form)
        self.cancel_button.setObjectName(u"cancel_button")
        self.cancel_button.setGeometry(QRect(480, 470, 161, 61))
        self.cancel_button.setFont(font)
        self.layoutWidget = QWidget(Form)
        self.layoutWidget.setObjectName(u"layoutWidget")
        self.layoutWidget.setGeometry(QRect(190, 130, 501, 291))
        self.verticalLayout = QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.current_password_label = QLabel(self.layoutWidget)
        self.current_password_label.setObjectName(u"current_password_label")
        font1 = QFont()
        font1.setPointSize(20)
        self.current_password_label.setFont(font1)

        self.horizontalLayout.addWidget(self.current_password_label)

        self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.horizontalLayout.addItem(self.verticalSpacer)

        self.input_current_password = QLineEdit(self.layoutWidget)
        self.input_current_password.setObjectName(u"input_current_password")
        self.input_current_password.setFont(font1)

        self.horizontalLayout.addWidget(self.input_current_password)

        self.verticalLayout.addLayout(self.horizontalLayout)

        self.input_current_password_wrong = QLabel(self.layoutWidget)
        self.input_current_password_wrong.setObjectName(u"input_current_password_wrong")
        palette = QPalette()
        brush = QBrush(QColor(255, 0, 0, 255))
        brush.setStyle(Qt.SolidPattern)
        palette.setBrush(QPalette.Active, QPalette.WindowText, brush)
        palette.setBrush(QPalette.Inactive, QPalette.WindowText, brush)
        brush1 = QBrush(QColor(120, 120, 120, 255))
        brush1.setStyle(Qt.SolidPattern)
        palette.setBrush(QPalette.Disabled, QPalette.WindowText, brush1)
        self.input_current_password_wrong.setPalette(palette)
        self.input_current_password_wrong.setAlignment(Qt.AlignCenter)

        self.verticalLayout.addWidget(self.input_current_password_wrong)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.new_password_label = QLabel(self.layoutWidget)
        self.new_password_label.setObjectName(u"new_password_label")
        self.new_password_label.setFont(font1)

        self.horizontalLayout_2.addWidget(self.new_password_label)

        self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.horizontalLayout_2.addItem(self.verticalSpacer_2)

        self.input_new_password = QLineEdit(self.layoutWidget)
        self.input_new_password.setObjectName(u"input_new_password")
        self.input_new_password.setFont(font1)

        self.horizontalLayout_2.addWidget(self.input_new_password)

        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.input_new_password_wrong = QLabel(self.layoutWidget)
        self.input_new_password_wrong.setObjectName(u"input_new_password_wrong")
        palette1 = QPalette()
        palette1.setBrush(QPalette.Active, QPalette.WindowText, brush)
        palette1.setBrush(QPalette.Inactive, QPalette.WindowText, brush)
        palette1.setBrush(QPalette.Disabled, QPalette.WindowText, brush1)
        self.input_new_password_wrong.setPalette(palette1)
        self.input_new_password_wrong.setAlignment(Qt.AlignCenter)

        self.verticalLayout.addWidget(self.input_new_password_wrong)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.confirm_new_password_label = QLabel(self.layoutWidget)
        self.confirm_new_password_label.setObjectName(u"confirm_new_password_label")
        self.confirm_new_password_label.setFont(font1)

        self.horizontalLayout_3.addWidget(self.confirm_new_password_label)

        self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.horizontalLayout_3.addItem(self.verticalSpacer_3)

        self.input_confirm_new_password = QLineEdit(self.layoutWidget)
        self.input_confirm_new_password.setObjectName(u"input_confirm_new_password")
        self.input_confirm_new_password.setFont(font1)

        self.horizontalLayout_3.addWidget(self.input_confirm_new_password)

        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.input_confirm_new_password_wrong = QLabel(self.layoutWidget)
        self.input_confirm_new_password_wrong.setObjectName(u"input_confirm_new_password_wrong")
        palette2 = QPalette()
        palette2.setBrush(QPalette.Active, QPalette.WindowText, brush)
        palette2.setBrush(QPalette.Inactive, QPalette.WindowText, brush)
        palette2.setBrush(QPalette.Disabled, QPalette.WindowText, brush1)
        self.input_confirm_new_password_wrong.setPalette(palette2)
        self.input_confirm_new_password_wrong.setAlignment(Qt.AlignCenter)

        self.verticalLayout.addWidget(self.input_confirm_new_password_wrong)

        self.retranslateUi(Form)

        QMetaObject.connectSlotsByName(Form)

    # setupUi

    def retranslateUi(self, Form):
        Form.setWindowTitle(QCoreApplication.translate("Form", u"Form", None))
        self.confirm_button.setText(QCoreApplication.translate("Form", u"\u786e\u5b9a\u4fee\u6539", None))
        self.cancel_button.setText(QCoreApplication.translate("Form", u"\u53d6\u6d88", None))
        self.current_password_label.setText(
            QCoreApplication.translate("Form", u"\u5f53\u524d\u5bc6\u7801\uff1a", None))
        self.input_current_password_wrong.setText("")
        self.new_password_label.setText(QCoreApplication.translate("Form", u"\u65b0\u5bc6\u7801\uff1a  ", None))
        self.input_new_password_wrong.setText("")
        self.confirm_new_password_label.setText(
            QCoreApplication.translate("Form", u"\u786e\u8ba4\u65b0\u5bc6\u7801\uff1a", None))
        self.input_confirm_new_password_wrong.setText("")
    # retranslateUi
